<style type="text/css">  
    input, textarea, .uneditable-input{
        width:550px;
    }
</style>
<form id="fm_update"  class="form-horizontal form-inline" action="__APP__/System/modules_update" method="post">  
<div class="row-fluid">

    <div class="span">

        <div class="box gradient">

            <div class="title">
                <h4>
                    <span class="icon16 cc-icon-list-4"></span>
                    <span>修改模块</span>
                </h4>
            </div>
            <div class="content noPad clearfix">  
        <legend></legend>
        
        <fieldset>
            <div class="control-group">
                <label class="control-label" for="">功能名称</label>
                <div class="controls">
                    <input id="Id" name="Id" type="hidden" value="{$menuinfo['Id']}" />
                    <input type="text" id="MenuName" name="MenuName" style="width:120px;" value="{$menuinfo['MenuName']}"/>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="">功能说明</label>
                <div class="controls">
                    <textarea align="left"  rows="4" cols="40" id="MenuDesc" name="MenuDesc" style="width:300px">{$menuinfo['MenuDesc']}</textarea>
                  
                </div>
            </div>
            <div class="control-group " style="width:500px" >
                <label class="control-label" for="">所属版块</label>
                <div class="controls">
                  <tagLib name="html" /> 
		  <html:select id="Pid" name="Pid" first="请选择" options="parent_id" style="width:300px"/> 
                  <input id="hi_Pid" type="hidden" value="{$menuinfo['Pid']}" />
                </div>
            </div>
            
            <div class="control-group">
                <label class="control-label" for="">模块名称</label>
                <div class="controls">
                  
                  <input type="text" id="Module" name="Module" style="width:120px;" value="{$menuinfo['Module']}"/>
                </div>
            </div>     
            <div class="control-group">
                <label class="control-label" for="">默认操作</label>
                <div class="controls">
                    <input type="text" id="Action" name="Action" style="width:120px;" value="{$menuinfo['Action']}"/>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="">功能图片</label>
                <div class="controls">
                    <input type="text" id="Image" name="Image" style="width:120px;" value="{$menuinfo['Image']}"/>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="">是否显示</label>
                <div class="controls">
                    <input id="View" name="View" type="checkbox" <php> if($menuinfo['View']==1) echo 'checked="checked"'</php> class="nostyle">
                </div>
            </div>
        </fieldset>

               <div class="form-actions " style="margin-bottom: 0px;">
            <button type="submit" class="btn btn-primary">保存更改</button>
            <a class="btn" onclick="history.back();">取消</a>
          </div>

            </div>

        </div><!-- End .box -->

    </div><!-- End .span12 -->
</div>
</form>
<script type="text/javascript">
    $(function(){
        
        //$("input, textarea, select").not(".nostyle").uniform();
        //$('.normal-toggle-button').toggleButtons();
        
        $("#Pid").val($("#hi_Pid").val());
        $("#Pid").change();
        
    });
     
         
         
</script>